﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace WebsiteClient.Models
{
    public partial class Registration
    {
        [Key]
        public int RegistrationId { get; set; }

        [ForeignKey("ApplicationUser")]
        public string ApplicationUser_Id { get; set; }
        public ApplicationUser ApplicationUser { get; set; }

        [ForeignKey("Event")]
        public int Event_Id { get; set; }

        public Event Event { get; set; }
    }
}